import Vue from 'vue'
import Router from 'vue-router'
//登录 
const Login = resolve => require(['@/page/views/login.vue'],resolve);  
//
const mixBase = resolve => require(['@/page/views/mixBase.vue'],resolve);   

import CCP_ROUTER from './ccp_router' 
import HYJ_ROUTER from './hyj_router'    
const CHILDLIST=CCP_ROUTER.concat(HYJ_ROUTER) 
Vue.use(Router) 
export default new Router({
  routes: [
    {path: '/Login',name: 'Login',component: Login,meta:{title:'登录'}},
    {path: '/mixBase',component: mixBase,children:CHILDLIST},
    {path:'*',redirect:'/userList'},
  ]
})
